import { createApp } from "vue";
import router from "./router";
import store from "./store";
import App from "./App.vue";

import ElementPlus from "element-plus";
import zhCn from "element-plus/es/locale/lang/zh-cn";
import "./styles/element.scss";
import ttTable from "@/components/tt/tt-table/index.vue";

const Vue = createApp(App);

import * as ElementPlusIconsVue from "@element-plus/icons-vue";
//注册所有图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  Vue.component(key, component);
}





Vue.component('ttTable',ttTable)

Vue.use(router);
Vue.use(store);
Vue.use(ElementPlus, {
  locale: zhCn,
});
Vue.mount("#app");
